<template>
  <div>
    <van-row>
      <van-col
        @click="clickItem(item)"
        class="Keyitem"
        v-for="(item, index) in keyWordList"
        :key="index"
        span="24"
        >{{ item }}</van-col
      >
    </van-row>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["keyWordList"],
  methods: {
    clickItem(value) {
      this.$emit("clickTag", value);
    },
  },
};
</script>

<style lang="less" scoped>
.Keyitem {
  padding: 0.1rem;
  font-size: 0.14rem;
  background-color: #fff;
  border-bottom: 0.1px solid #e5e2e236;
}
</style>
